projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc918b
)
mountoperation: don't timeout proxied mount operation dialogs
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 18 Sep 2012 17:44:04 +0000
(13:44 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 18 Sep 2012 17:46:14 +0000
(13:46 -0400)
When we proxy mount operation dialogs to the Shell agent, don't use a
timeout for the remote calls, since we will be waiting on user
interaction.
gtk/gtkmountoperation.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmountoperation.c
b/gtk/gtkmountoperation.c
index fa61746b2fd75ff70e21377acdc02a405387574b..47b7ff22b39f2ac3e285044a75fa737300048983 100644
(file)
--- a/
gtk/gtkmountoperation.c
+++ b/
gtk/gtkmountoperation.c
@@
-201,6
+201,8
@@
gtk_mount_operation_init (GtkMountOperation *operation)
if (!name_owner)
g_clear_object (&operation->priv->handler);
g_free (name_owner);
+
+ g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
}
static void